#include <iostream>
#include <string>
#include <memory>
#include "HttpServer.hpp"


// static void Usage(std::string proc)
// {
//     std::cout << "Usage:\n\t" << proc << " port" << std::endl;;
// }

// if( argc != 2 )
// {
//     Usage(argv[0]);
//     exit(4);
// }

int main(int argc, char *argv[])
{
    int port = 8081;
    std::shared_ptr<HttpServer> http_server(new HttpServer(port));
    http_server->InitServer();
    http_server->Loop();
    return 0;
}
